package com.kotlin.demo

import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch

class Test01GlobalScope {
    //@Test
    fun main(): String{
        GlobalScope.launch(Dispatchers.Main) {
            delay(1000)
            println("World!")
        }
        print("Hello,")

        return "[${Thread.currentThread().name}]";
    }


}